<%@ page import="cn.yunhe.news.dao.IBoardDao" %>
<%@ page import="cn.yunhe.news.dao.impl.BoardDao" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
int bid=Integer.parseInt(request.getParameter("bid"));
    IBoardDao boardDao=new BoardDao();
    int[] arr={bid};

    if (boardDao.delBoard(arr))
        request.getRequestDispatcher("bianjizt.jsp").forward(request,response);
%>
</body>
</html>
